<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看顾客个人信息</title>
<script type="text/javascript">
	var base = "${base}/";
</script>	
<!--框架必需-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery-1.7.1.js"></script>
<script type="text/javascript" src="${base}/scripts/framework.js"></script>
<link href="${base}/css/import_basic.css" rel="stylesheet" type="text/css" />
<link href="${base}/css/sky/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="position">
	<div class="center">
		<div class="left">
			<div class="right">
				<span>当前位置：订单管理 >> 查看客户个人信息</span>
			</div>
		</div>
	</div>
</div>
<div class="box1" whiteBg="true">
<table class="tableStyle">
	<tr>
		<td>客户姓名：</td>
		<td>${(customer.userName)!''}
		</td>
	</tr>
	<tr>
		<td>真实姓名：</td>
		<td>${(customer.realName)!''}
		</td>
	</tr>
	<tr>
		<td>性别：</td>
		<#if customer.gender = 0 >
		<td>男</td>
		<#else>
		<td>女</td>
		</#if>
	</tr>
	<tr>
		<td>联系电话：</td>
		<td>
			${(customer.phoneNumber)!''}
		</td>
	</tr>
	<tr>
		<td>手机号码：</td>
		<td>
			${(customer.telephone)!''}
		</td>
	</tr>
	<tr>
		<td>电子邮箱：</td>
		<td>
			${(customer.email)!''}
		</td>
	</tr>
	<tr>
		<td>QQ号码：</td>
		<td>
			${(customer.qqNumber)!''}
		</td>
	</tr>
	<tr>
		<td>阿里旺旺：</td>
		<td>
			${(customer.wangWang)!''}
		</td>
	</tr>
	<tr>
		<td>出生日期：</td>
		<td>
			${(customer.birthDay)!''}
		</td>
	</tr>
	<tr>
		<td>联系地址：</td>
		<td>
			${(customer.address)!''}
		</td>
	</tr>
	<tr>
		<td>积分：</td>
		<td>
			${(customer.pointValue)!''}
		</td>
	</tr>
	<tr>
		<td>会员级别：</td>
		<td>${(customer.credit.description)!'普通会员'}</td>
	</tr>
	<tr>
		<td>交易次数：</td>
		<td>
			${(customer.tradeCount)!'0'}
		</td>
	</tr>
	<tr>
		<td>客户习惯：</td>
		<td>
			<span class="float_left">
			${(customer.habit)!''}
			</span>
		</td>
	</tr>
	<tr>
		<td colspan="2" style="width: 0 auto;">
			<input type="button" class="button" onclick="modifyInfo(${(customer.id)!''})" value=" 修改客户信息"/>
			<input type="button" onclick="top.Dialog.close()" class="button" value=" 取消"/>
		</td>
	</tr>
</table>
</div>
</body>
</html>
<script>
function modifyInfo(customerId) {
	window.location.href = base + "admin/customer/findById.action?customer.id=" + customerId;
}
</script>